!(function (e) {
  var t = {};
  function r(n) {
    if (t[n]) return t[n].exports;
    var o = (t[n] = { i: n, l: !1, exports: {} });
    return e[n].call(o.exports, o, o.exports, r), (o.l = !0), o.exports;
  }
  (r.m = e),
    (r.c = t),
    (r.d = function (e, t, n) {
      r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n });
    }),
    (r.r = function (e) {
      "undefined" !== typeof Symbol &&
        Symbol.toStringTag &&
        Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }),
        Object.defineProperty(e, "__esModule", { value: !0 });
    }),
    (r.t = function (e, t) {
      if ((1 & t && (e = r(e)), 8 & t)) return e;
      if (4 & t && "object" === typeof e && e && e.__esModule) return e;
      var n = Object.create(null);
      if (
        (r.r(n),
        Object.defineProperty(n, "default", { enumerable: !0, value: e }),
        2 & t && "string" != typeof e)
      )
        for (var o in e)
          r.d(
            n,
            o,
            function (t) {
              return e[t];
            }.bind(null, o)
          );
      return n;
    }),
    (r.n = function (e) {
      var t =
        e && e.__esModule
          ? function () {
              return e.default;
            }
          : function () {
              return e;
            };
      return r.d(t, "a", t), t;
    }),
    (r.o = function (e, t) {
      return Object.prototype.hasOwnProperty.call(e, t);
    }),
    (r.p = "/"),
    r((r.s = 156));
})({
  129: function (e, t, r) {
    "use strict";
    var n = r(2),
      o = r(143),
      a = [
        [
          "requestFullscreen",
          "exitFullscreen",
          "fullscreenElement",
          "fullscreenEnabled",
          "fullscreenchange",
          "fullscreenerror",
        ],
        [
          "webkitRequestFullscreen",
          "webkitExitFullscreen",
          "webkitFullscreenElement",
          "webkitFullscreenEnabled",
          "webkitfullscreenchange",
          "webkitfullscreenerror",
        ],
        [
          "webkitRequestFullScreen",
          "webkitCancelFullScreen",
          "webkitCurrentFullScreenElement",
          "webkitCancelFullScreen",
          "webkitfullscreenchange",
          "webkitfullscreenerror",
        ],
        [
          "mozRequestFullScreen",
          "mozCancelFullScreen",
          "mozFullScreenElement",
          "mozFullScreenEnabled",
          "mozfullscreenchange",
          "mozfullscreenerror",
        ],
        [
          "msRequestFullscreen",
          "msExitFullscreen",
          "msFullscreenElement",
          "msFullscreenEnabled",
          "MSFullscreenChange",
          "MSFullscreenError",
        ],
      ],
      i = (function () {
        if ("undefined" === typeof document) return !1;
        for (var e = a[0], t = {}, r = 0, i = a; r < i.length; r++) {
          var u = i[r];
          if ((null === u || void 0 === u ? void 0 : u[1]) in document) {
            var c,
              l = Object(o.a)(u.entries());
            try {
              for (l.s(); !(c = l.n()).done; ) {
                var s = Object(n.a)(c.value, 2),
                  f = s[0],
                  _ = s[1];
                t[e[f]] = _;
              }
            } catch (d) {
              l.e(d);
            } finally {
              l.f();
            }
            return t;
          }
        }
        return !1;
      })(),
      u = { change: i.fullscreenchange, error: i.fullscreenerror },
      c = {
        request: function () {
          var e =
              arguments.length > 0 && void 0 !== arguments[0]
                ? arguments[0]
                : document.documentElement,
            t = arguments.length > 1 ? arguments[1] : void 0;
          return new Promise(function (r, n) {
            var o = function e() {
              c.off("change", e), r();
            };
            c.on("change", o);
            var a = e[i.requestFullscreen](t);
            a instanceof Promise && a.then(o).catch(n);
          });
        },
        exit: function () {
          return new Promise(function (e, t) {
            if (c.isFullscreen) {
              var r = function t() {
                c.off("change", t), e();
              };
              c.on("change", r);
              var n = document[i.exitFullscreen]();
              n instanceof Promise && n.then(r).catch(t);
            } else e();
          });
        },
        toggle: function (e, t) {
          return c.isFullscreen ? c.exit() : c.request(e, t);
        },
        onchange: function (e) {
          c.on("change", e);
        },
        onerror: function (e) {
          c.on("error", e);
        },
        on: function (e, t) {
          var r = u[e];
          r && document.addEventListener(r, t, !1);
        },
        off: function (e, t) {
          var r = u[e];
          r && document.removeEventListener(r, t, !1);
        },
        raw: i,
      };
    Object.defineProperties(c, {
      isFullscreen: {
        get: function () {
          return Boolean(document[i.fullscreenElement]);
        },
      },
      element: {
        enumerable: !0,
        get: function () {
          var e;
          return null !== (e = document[i.fullscreenElement]) && void 0 !== e
            ? e
            : void 0;
        },
      },
      isEnabled: {
        enumerable: !0,
        get: function () {
          return Boolean(document[i.fullscreenEnabled]);
        },
      },
    }),
      i || (c = { isEnabled: !1 }),
      (t.a = c);
  },
  13: function (module, __webpack_exports__, __webpack_require__) {
    "use strict";
    __webpack_require__.d(__webpack_exports__, "g", function () {
      return loadJS;
    }),
      __webpack_require__.d(__webpack_exports__, "d", function () {
        return getConfig;
      }),
      __webpack_require__.d(__webpack_exports__, "j", function () {
        return setAttrByLabel;
      }),
      __webpack_require__.d(__webpack_exports__, "e", function () {
        return getDataAndKeys;
      }),
      __webpack_require__.d(__webpack_exports__, "k", function () {
        return setGlobalVariableValue;
      }),
      __webpack_require__.d(__webpack_exports__, "c", function () {
        return formatValue;
      }),
      __webpack_require__.d(__webpack_exports__, "b", function () {
        return ensureArray;
      }),
      __webpack_require__.d(__webpack_exports__, "f", function () {
        return getEditorData;
      }),
      __webpack_require__.d(__webpack_exports__, "l", function () {
        return setPanelStateByName;
      }),
      __webpack_require__.d(__webpack_exports__, "i", function () {
        return randomString;
      }),
      __webpack_require__.d(__webpack_exports__, "h", function () {
        return raiseEvent;
      }),
      __webpack_require__.d(__webpack_exports__, "a", function () {
        return addToRepeater;
      });
    var D_Axhub_AxhubWeb_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ =
        __webpack_require__(20),
      scriptjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54),
      scriptjs__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(
        scriptjs__WEBPACK_IMPORTED_MODULE_1__
      ),
      _antv_util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(37);
    function _regeneratorRuntime() {
      _regeneratorRuntime = function () {
        return t;
      };
      var e,
        t = {},
        r = Object.prototype,
        n = r.hasOwnProperty,
        o =
          Object.defineProperty ||
          function (e, t, r) {
            e[t] = r.value;
          },
        a = "function" == typeof Symbol ? Symbol : {},
        i = a.iterator || "@@iterator",
        u = a.asyncIterator || "@@asyncIterator",
        c = a.toStringTag || "@@toStringTag";
      function l(e, t, r) {
        return (
          Object.defineProperty(e, t, {
            value: r,
            enumerable: !0,
            configurable: !0,
            writable: !0,
          }),
          e[t]
        );
      }
      try {
        l({}, "");
      } catch (e) {
        l = function (e, t, r) {
          return (e[t] = r);
        };
      }
      function s(e, t, r, n) {
        var a = t && t.prototype instanceof v ? t : v,
          i = Object.create(a.prototype),
          u = new L(n || []);
        return o(i, "_invoke", { value: j(e, r, u) }), i;
      }
      function f(e, t, r) {
        try {
          return { type: "normal", arg: e.call(t, r) };
        } catch (e) {
          return { type: "throw", arg: e };
        }
      }
      t.wrap = s;
      var _ = "suspendedStart",
        d = "executing",
        p = "completed",
        h = {};
      function v() {}
      function b() {}
      function m() {}
      var g = {};
      l(g, i, function () {
        return this;
      });
      var y = Object.getPrototypeOf,
        w = y && y(y(C([])));
      w && w !== r && n.call(w, i) && (g = w);
      var E = (m.prototype = v.prototype = Object.create(g));
      function x(e) {
        ["next", "throw", "return"].forEach(function (t) {
          l(e, t, function (e) {
            return this._invoke(t, e);
          });
        });
      }
      function O(e, t) {
        function r(o, a, i, u) {
          var c = f(e[o], e, a);
          if ("throw" !== c.type) {
            var l = c.arg,
              s = l.value;
            return s && "object" == typeof s && n.call(s, "__await")
              ? t.resolve(s.__await).then(
                  function (e) {
                    r("next", e, i, u);
                  },
                  function (e) {
                    r("throw", e, i, u);
                  }
                )
              : t.resolve(s).then(
                  function (e) {
                    (l.value = e), i(l);
                  },
                  function (e) {
                    return r("throw", e, i, u);
                  }
                );
          }
          u(c.arg);
        }
        var a;
        o(this, "_invoke", {
          value: function (e, n) {
            function o() {
              return new t(function (t, o) {
                r(e, n, t, o);
              });
            }
            return (a = a ? a.then(o, o) : o());
          },
        });
      }
      function j(t, r, n) {
        var o = _;
        return function (a, i) {
          if (o === d) throw new Error("Generator is already running");
          if (o === p) {
            if ("throw" === a) throw i;
            return { value: e, done: !0 };
          }
          for (n.method = a, n.arg = i; ; ) {
            var u = n.delegate;
            if (u) {
              var c = k(u, n);
              if (c) {
                if (c === h) continue;
                return c;
              }
            }
            if ("next" === n.method) n.sent = n._sent = n.arg;
            else if ("throw" === n.method) {
              if (o === _) throw ((o = p), n.arg);
              n.dispatchException(n.arg);
            } else "return" === n.method && n.abrupt("return", n.arg);
            o = d;
            var l = f(t, r, n);
            if ("normal" === l.type) {
              if (((o = n.done ? p : "suspendedYield"), l.arg === h)) continue;
              return { value: l.arg, done: n.done };
            }
            "throw" === l.type &&
              ((o = p), (n.method = "throw"), (n.arg = l.arg));
          }
        };
      }
      function k(t, r) {
        var n = r.method,
          o = t.iterator[n];
        if (o === e)
          return (
            (r.delegate = null),
            ("throw" === n &&
              t.iterator.return &&
              ((r.method = "return"),
              (r.arg = e),
              k(t, r),
              "throw" === r.method)) ||
              ("return" !== n &&
                ((r.method = "throw"),
                (r.arg = new TypeError(
                  "The iterator does not provide a '" + n + "' method"
                )))),
            h
          );
        var a = f(o, t.iterator, r.arg);
        if ("throw" === a.type)
          return (r.method = "throw"), (r.arg = a.arg), (r.delegate = null), h;
        var i = a.arg;
        return i
          ? i.done
            ? ((r[t.resultName] = i.value),
              (r.next = t.nextLoc),
              "return" !== r.method && ((r.method = "next"), (r.arg = e)),
              (r.delegate = null),
              h)
            : i
          : ((r.method = "throw"),
            (r.arg = new TypeError("iterator result is not an object")),
            (r.delegate = null),
            h);
      }
      function P(e) {
        var t = { tryLoc: e[0] };
        1 in e && (t.catchLoc = e[1]),
          2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])),
          this.tryEntries.push(t);
      }
      function A(e) {
        var t = e.completion || {};
        (t.type = "normal"), delete t.arg, (e.completion = t);
      }
      function L(e) {
        (this.tryEntries = [{ tryLoc: "root" }]),
          e.forEach(P, this),
          this.reset(!0);
      }
      function C(t) {
        if (t || "" === t) {
          var r = t[i];
          if (r) return r.call(t);
          if ("function" == typeof t.next) return t;
          if (!isNaN(t.length)) {
            var o = -1,
              a = function r() {
                for (; ++o < t.length; )
                  if (n.call(t, o)) return (r.value = t[o]), (r.done = !1), r;
                return (r.value = e), (r.done = !0), r;
              };
            return (a.next = a);
          }
        }
        throw new TypeError(typeof t + " is not iterable");
      }
      return (
        (b.prototype = m),
        o(E, "constructor", { value: m, configurable: !0 }),
        o(m, "constructor", { value: b, configurable: !0 }),
        (b.displayName = l(m, c, "GeneratorFunction")),
        (t.isGeneratorFunction = function (e) {
          var t = "function" == typeof e && e.constructor;
          return (
            !!t &&
            (t === b || "GeneratorFunction" === (t.displayName || t.name))
          );
        }),
        (t.mark = function (e) {
          return (
            Object.setPrototypeOf
              ? Object.setPrototypeOf(e, m)
              : ((e.__proto__ = m), l(e, c, "GeneratorFunction")),
            (e.prototype = Object.create(E)),
            e
          );
        }),
        (t.awrap = function (e) {
          return { __await: e };
        }),
        x(O.prototype),
        l(O.prototype, u, function () {
          return this;
        }),
        (t.AsyncIterator = O),
        (t.async = function (e, r, n, o, a) {
          void 0 === a && (a = Promise);
          var i = new O(s(e, r, n, o), a);
          return t.isGeneratorFunction(r)
            ? i
            : i.next().then(function (e) {
                return e.done ? e.value : i.next();
              });
        }),
        x(E),
        l(E, c, "Generator"),
        l(E, i, function () {
          return this;
        }),
        l(E, "toString", function () {
          return "[object Generator]";
        }),
        (t.keys = function (e) {
          var t = Object(e),
            r = [];
          for (var n in t) r.push(n);
          return (
            r.reverse(),
            function e() {
              for (; r.length; ) {
                var n = r.pop();
                if (n in t) return (e.value = n), (e.done = !1), e;
              }
              return (e.done = !0), e;
            }
          );
        }),
        (t.values = C),
        (L.prototype = {
          constructor: L,
          reset: function (t) {
            if (
              ((this.prev = 0),
              (this.next = 0),
              (this.sent = this._sent = e),
              (this.done = !1),
              (this.delegate = null),
              (this.method = "next"),
              (this.arg = e),
              this.tryEntries.forEach(A),
              !t)
            )
              for (var r in this)
                "t" === r.charAt(0) &&
                  n.call(this, r) &&
                  !isNaN(+r.slice(1)) &&
                  (this[r] = e);
          },
          stop: function () {
            this.done = !0;
            var e = this.tryEntries[0].completion;
            if ("throw" === e.type) throw e.arg;
            return this.rval;
          },
          dispatchException: function (t) {
            if (this.done) throw t;
            var r = this;
            function o(n, o) {
              return (
                (u.type = "throw"),
                (u.arg = t),
                (r.next = n),
                o && ((r.method = "next"), (r.arg = e)),
                !!o
              );
            }
            for (var a = this.tryEntries.length - 1; a >= 0; --a) {
              var i = this.tryEntries[a],
                u = i.completion;
              if ("root" === i.tryLoc) return o("end");
              if (i.tryLoc <= this.prev) {
                var c = n.call(i, "catchLoc"),
                  l = n.call(i, "finallyLoc");
                if (c && l) {
                  if (this.prev < i.catchLoc) return o(i.catchLoc, !0);
                  if (this.prev < i.finallyLoc) return o(i.finallyLoc);
                } else if (c) {
                  if (this.prev < i.catchLoc) return o(i.catchLoc, !0);
                } else {
                  if (!l)
                    throw new Error("try statement without catch or finally");
                  if (this.prev < i.finallyLoc) return o(i.finallyLoc);
                }
              }
            }
          },
          abrupt: function (e, t) {
            for (var r = this.tryEntries.length - 1; r >= 0; --r) {
              var o = this.tryEntries[r];
              if (
                o.tryLoc <= this.prev &&
                n.call(o, "finallyLoc") &&
                this.prev < o.finallyLoc
              ) {
                var a = o;
                break;
              }
            }
            a &&
              ("break" === e || "continue" === e) &&
              a.tryLoc <= t &&
              t <= a.finallyLoc &&
              (a = null);
            var i = a ? a.completion : {};
            return (
              (i.type = e),
              (i.arg = t),
              a
                ? ((this.method = "next"), (this.next = a.finallyLoc), h)
                : this.complete(i)
            );
          },
          complete: function (e, t) {
            if ("throw" === e.type) throw e.arg;
            return (
              "break" === e.type || "continue" === e.type
                ? (this.next = e.arg)
                : "return" === e.type
                ? ((this.rval = this.arg = e.arg),
                  (this.method = "return"),
                  (this.next = "end"))
                : "normal" === e.type && t && (this.next = t),
              h
            );
          },
          finish: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var r = this.tryEntries[t];
              if (r.finallyLoc === e)
                return this.complete(r.completion, r.afterLoc), A(r), h;
            }
          },
          catch: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var r = this.tryEntries[t];
              if (r.tryLoc === e) {
                var n = r.completion;
                if ("throw" === n.type) {
                  var o = n.arg;
                  A(r);
                }
                return o;
              }
            }
            throw new Error("illegal catch attempt");
          },
          delegateYield: function (t, r, n) {
            return (
              (this.delegate = { iterator: C(t), resultName: r, nextLoc: n }),
              "next" === this.method && (this.arg = e),
              h
            );
          },
        }),
        t
      );
    }
    var $ = window.$,
      $axure = window.$axure,
      loadJS = function (e) {
        return new Promise(function (t) {
          return scriptjs__WEBPACK_IMPORTED_MODULE_1___default.a.get(
            e,
            function () {
              t(!0);
            }
          );
        });
      },
      replaceAll = function (e, t, r) {
        return (
          (t = t.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1")),
          e.replace(new RegExp(t, "g"), r)
        );
      },
      bool = function (e) {
        return !(
          "false" === e ||
          0 === e ||
          null === e ||
          void 0 === e ||
          "" === e ||
          !1 === e
        );
      },
      getGlobalConfig = function () {
        if (window.acpGlobalConfig) return window.acpGlobalConfig;
        var e = {};
        return (
          window.$axure.internal(function (t) {
            t.pageData.variables.map(function (r) {
              (r = r.replaceAll("_", ".")),
                (e[r] = formatValue(
                  t.globalVariableProvider.getVariableValue(r)
                ));
            });
          }),
          (window.acpGlobalConfig = e),
          e
        );
      },
      getRepeater = function (e) {
        var t;
        return (
          window
            .$axure(function (e) {
              return "repeater" === e.type;
            })
            .each(function (r, n) {
              e === n && (t = r);
            }),
          t
        );
      },
      getConfig = function (e) {
        var t =
            arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
          r =
            arguments.length > 2 && void 0 !== arguments[2]
              ? arguments[2]
              : null;
        try {
          var n = {},
            o = r || getRepeaterRowsAndColumns(e).rows,
            a = t;
          return (
            r
              ? o.map(function (e) {
                  if (e.item) {
                    var t = a[e.item] || e.item;
                    n[t] = e.value;
                  }
                })
              : o.map(function (e) {
                  if (e.item) {
                    var t,
                      r =
                        a[e.item.text.trim().toLowerCase()] ||
                        e.item.text.trim();
                    if (e.value)
                      (t =
                        "image" === e.value.type
                          ? "./" + e.value.img.s0
                          : "page" === e.value.type
                          ? "./" + e.value.url
                          : e.value.text.trim()),
                        (n[r] = "code" !== r ? formatValue(t) : t);
                  }
                }),
            n
          );
        } catch (i) {
          return (
            console.error(i),
            console.log("Error\uff1aCan not get config by  " + e),
            null
          );
        }
      },
      getAnnotations = function (e, t) {
        try {
          var r = [],
            n = getRepeaterRowsAndColumns(e),
            o = n.rows,
            a = n.columns,
            i = t;
          return (
            a.map(function (e, t) {
              if (t > 0) {
                var n = {};
                o.map(function (t) {
                  if (t.option) {
                    var r =
                        i[t.option.text.trim().toLowerCase()] ||
                        t.option.text.trim(),
                      o = t[e].text.trim();
                    o && ((o = formatValue(o)), setAttrByLabel(n, r, o));
                  }
                }),
                  r.push(n);
              }
            }),
            r
          );
        } catch (u) {
          return (
            console.error(u),
            console.error("Error\uff1aCan not get annotations by  " + e),
            null
          );
        }
      },
      isIE = function () {
        return !(!window.ActiveXObject && !("ActiveXObject" in window));
      },
      setAttrByLabel = function (e, t, r) {
        var n = [];
        (n = t.split(".")).forEach(function (t, o, a) {
          if (t.endsWith("]")) {
            var i = /\[(\d+)\]$/.exec(t);
            if (i) {
              t = t.replace(i[0], "");
              var u = Number(i[1]);
              (e[t] && e[t].constructor === Array) || (e[t] = []),
                o == n.length - 1
                  ? (e[t][u] = r)
                  : ((e[t][u] && e[t][u].constructor === Object) ||
                      (e[t][u] = {}),
                    (e = e[t][u]));
            }
          } else o == n.length - 1 ? (e[t] = r) : ((e[t] && e[t].constructor === Object) || (e[t] = {}), (e = e[t]));
        });
      },
      getDataAndKeys = function (e) {
        var t = [],
          r = getRepeaterRowsAndColumns(e),
          n = r.rows,
          o = r.columns;
        return {
          data: n.map(function (e, r) {
            t = Object.getOwnPropertyNames(e);
            var n = {};
            return (
              t.map(function (t, r) {
                var o = e[t].text || null;
                e[t].img
                  ? (o = e[t].img.s0 || o)
                  : "page" === e[t].type && (o = "./" + e[t].url),
                  (n[t] = isNaN(o) || null === o ? o : Number(o)),
                  !r &&
                    isNaN(o) &&
                    (n[t] = n[t].replace(RegExp("{br}", "g"), "\n"));
              }),
              n
            );
          }),
          keys: o,
        };
      },
      getRepeaterRowsAndColumns = function (e, t, r) {
        var n;
        window.$axure.internal(function (e) {
          n = e;
        });
        var o = t;
        void 0 === o
          ? (o = n.repeater.getAllItemIds(e))
          : "object" != typeof o && (o = [o]),
          void 0 === r
            ? (r = getRepeater(e).dataProps)
            : "object" != typeof r && (r = [r]),
          (t = []);
        for (var a = 0, i = o.length; a < i; a++) {
          for (var u = {}, c = 0, l = r.length; c < l; c++) {
            var s = r[c].toLowerCase(),
              f = o[a];
            "string" == typeof f &&
              -1 != f.indexOf("-") &&
              (f = n.repeater.getItemIdFromElementId(f));
            var _ = n.repeater.getData({}, e, o[a], s, "data");
            "object" === typeof _
              ? (void 0 === (_ = n.deepCopy(_)).type && (_.type = "text"),
                (u[s] = _))
              : (u[s] = { type: "text", text: _ });
          }
          t.push(u);
        }
        return { columns: r, rows: t };
      },
      setGlobalVariableValue = function (e, t) {
        var r;
        window.$axure.internal(function (e) {
          r = e;
        }),
          r.globalVariableProvider.setVariableValue(e, t, !1);
      },
      getGlobalVariableValue = function (e, t) {
        var r;
        return (
          window.$axure.internal(function (e) {
            r = e;
          }),
          r.globalVariableProvider.getVariableValue(e, t, !1)
        );
      },
      formatNumber = function (e) {
        return !isNaN(e) && e ? Number(e) : e;
      },
      formatValue = function formatValue(str) {
        if ("" !== str && void 0 !== str && null !== str) {
          if ("string" !== typeof str) return str;
          if (!isNaN(str)) return Number(str);
          if (-1 !== ["true", "false"].indexOf(str)) return "true" === str;
          try {
            return JSON.parse(str);
          } catch (error) {}
          if (0 === str.indexOf("function("))
            return eval("(false || " + str + ")");
          var reg = /\[(.+?)\]/g,
            res = reg.exec(str);
          return res
            ? res[1].split(",").map(function (e) {
                return isNaN(e)
                  ? e.replaceAll("'", "").replaceAll('"', "")
                  : Number(e);
              })
            : -1 !== str.indexOf("|")
            ? str.split("|").map(function (e) {
                return isNaN(e) ? e : Number(e);
              })
            : -1 !== str.indexOf(",") && -1 === str.indexOf("rgb")
            ? str.split(",").map(function (e) {
                return isNaN(e) ? e : Number(e);
              })
            : str;
        }
      },
      ensureArray = function (e) {
        return Array.isArray(e) ? e : void 0 === e ? [] : [e];
      },
      axGet = function (e) {
        return new Promise(function (t, r) {
          window.$.ajax({
            type: "GET",
            url: e,
            success: function (e) {
              t(e);
            },
            error: function (e, t) {
              r(t);
            },
          });
        });
      };
    function chartConfigToRepeaterConfig(e) {
      var t = {};
      return (
        (function e(r, n) {
          for (var o in r) {
            var a = r[o],
              i = n ? "".concat(n, ".").concat(o) : o;
            "object" !== typeof a || Array.isArray(a) ? (t[i] = a) : e(a, i);
          }
        })(e, ""),
        t
      );
    }
    var getKeysByData = function (e) {
        return Array.isArray(e)
          ? Object.keys(e[0])
          : e.children
          ? Object.keys(
              (null === e || void 0 === e ? void 0 : e.children[0]) || {}
            )
          : [];
      },
      getCache = function (e) {
        for (
          var t = e + "=",
            r = decodeURIComponent(document.cookie).split(";"),
            n = 0;
          n < r.length;
          n++
        ) {
          for (var o = r[n]; " " === o.charAt(0); ) o = o.substring(1);
          if (0 === o.indexOf(t)) {
            var a = o.substring(t.length, o.length);
            try {
              return JSON.parse(a);
            } catch (i) {
              return a;
            }
          }
        }
        return "";
      },
      convertSVGToCanvas = function (e, t, r) {
        var n = new Blob([e], { type: "image/svg+xml" }),
          o = URL.createObjectURL(n),
          a = document.createElement("canvas");
        (a.width = t), (a.height = r);
        var i = new Image();
        return (
          (i.crossorigin = "anonymous"),
          i.setAttribute("crossorigin", "anonymous"),
          (i.src = o),
          new Promise(function (e, n) {
            (i.onload = function () {
              URL.revokeObjectURL(o);
              var n = a.getContext("2d");
              (n.fillStyle = "rgba(255, 255, 255, 0)"),
                n.fillRect(0, 0, t, r),
                n.drawImage(i, 0, 0, t, r),
                e(a);
            }),
              (i.onerror = function (t) {
                URL.revokeObjectURL(o), console.warn(t), e(null);
              });
          })
        );
      },
      getEditorData = (function () {
        var e = Object(
          D_Axhub_AxhubWeb_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__.a
        )(
          _regeneratorRuntime().mark(function e(t, r) {
            var n,
              o,
              a,
              i,
              u,
              c,
              l,
              s,
              f,
              _,
              d,
              p,
              h,
              v,
              b,
              m,
              g,
              y,
              w = arguments;
            return _regeneratorRuntime().wrap(
              function (e) {
                for (;;)
                  switch ((e.prev = e.next)) {
                    case 0:
                      if (
                        ((u = w.length > 2 && void 0 !== w[2] ? w[2] : ""),
                        (c = window.$),
                        (l =
                          c(t).find("img#".concat(t.id, "_img")).attr("src") ||
                          ""),
                        (s = null),
                        (f = !1),
                        !l.endsWith(".svg") ||
                          window.location.href.startsWith("file://"))
                      ) {
                        e.next = 17;
                        break;
                      }
                      return (e.prev = 6), (e.next = 9), axGet(l);
                    case 9:
                      (_ = e.sent),
                        (d = JSON.parse(
                          c(_).find("svg").attr("AxData") ||
                            c(_).find("#config").text() ||
                            "{}"
                        )),
                        r.axhubEditorConfig
                          ? ((null === (p = r.axhubEditorConfig) || void 0 === p
                              ? void 0
                              : p.time) || 0) <
                              ((null === d || void 0 === d ? void 0 : d.time) ||
                                0) && (r.axhubEditorConfig = d)
                          : (r.axhubEditorConfig = d),
                        (e.next = 17);
                      break;
                    case 14:
                      (e.prev = 14), (e.t0 = e.catch(6)), console.error(e.t0);
                    case 17:
                      if (
                        (u &&
                          (h = getGlobalConfig())[u] &&
                          (((null === (v = r.axhubEditorConfig) || void 0 === v
                            ? void 0
                            : v.time) || 0) <
                          ((null === (b = h[u]) || void 0 === b
                            ? void 0
                            : b.time) || 0)
                            ? (r.axhubEditorConfig = Object(
                                _antv_util__WEBPACK_IMPORTED_MODULE_2__.a
                              )(
                                {},
                                (null === (m = r) || void 0 === m
                                  ? void 0
                                  : m.axhubEditorConfig) || {},
                                h[u] || {}
                              ))
                            : (r.axhubEditorConfig = Object(
                                _antv_util__WEBPACK_IMPORTED_MODULE_2__.a
                              )(
                                {},
                                h[u] || {},
                                (null === (g = r) || void 0 === g
                                  ? void 0
                                  : g.axhubEditorConfig) || {}
                              ))),
                        !r.axhubEditorConfig)
                      ) {
                        e.next = 37;
                        break;
                      }
                      (e.t1 = r.configSource),
                        (e.next =
                          "repeater" === e.t1
                            ? 22
                            : "editor" === e.t1
                            ? 23
                            : 25);
                      break;
                    case 22:
                      return e.abrupt("break", 27);
                    case 23:
                      return (
                        (r =
                          (null === (n = r.axhubEditorConfig) || void 0 === n
                            ? void 0
                            : n.config) || {}),
                        e.abrupt("break", 27)
                      );
                    case 25:
                      return (
                        (r = Object(_antv_util__WEBPACK_IMPORTED_MODULE_2__.a)(
                          r,
                          (null === (o = r.axhubEditorConfig) || void 0 === o
                            ? void 0
                            : o.config) || {}
                        )),
                        e.abrupt("break", 27)
                      );
                    case 27:
                      (e.t2 = r.dataSource),
                        (e.next =
                          "repeater" === e.t2
                            ? 30
                            : "editor" === e.t2
                            ? 31
                            : 33);
                      break;
                    case 30:
                      return e.abrupt("break", 35);
                    case 31:
                      return (
                        (s = (null === (a = r.axhubEditorConfig) || void 0 === a
                          ? void 0
                          : a.data) || { data: [], keys: [] }),
                        e.abrupt("break", 35)
                      );
                    case 33:
                      return (
                        (s =
                          (null === (i = r.axhubEditorConfig) || void 0 === i
                            ? void 0
                            : i.data) || s),
                        e.abrupt("break", 35)
                      );
                    case 35:
                      (f = window
                        .atob(
                          (null === (y = r.axhubEditorConfig) || void 0 === y
                            ? void 0
                            : y.u) || ""
                        )
                        .endsWith("b1")),
                        delete r.axhubEditorConfig;
                    case 37:
                      return e.abrupt("return", {
                        config: r,
                        data: s,
                        isEnt: f,
                      });
                    case 38:
                    case "end":
                      return e.stop();
                  }
              },
              e,
              null,
              [[6, 14]]
            );
          })
        );
        return function (t, r) {
          return e.apply(this, arguments);
        };
      })(),
      setPanelStateByName = function (e, t) {
        for (
          var r =
              arguments.length > 2 && void 0 !== arguments[2]
                ? arguments[2]
                : {},
            n = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
            o = function (e) {
              for (var t = [], r = 1; ; r++) {
                var n = $("#" + e + "_state" + (r - 1));
                if (!n.length) break;
                var o = n.attr("data-label");
                (t[r] = o), (t[o] = r);
              }
              return t;
            },
            a = 0;
          a < e.length;
          a++
        ) {
          var i = e[a],
            u = o(i)[t];
          u && window.$axure("#" + i).SetPanelState(u, r, n);
        }
      };
    function randomString(e) {
      e = e || 32;
      for (
        var t = "ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678",
          r = t.length,
          n = "",
          o = 0;
        o < e;
        o++
      )
        n += t.charAt(Math.floor(Math.random() * r));
      return n;
    }
    var raiseEvent = function (e, t) {
        var r;
        window.$axure.internal(function (e) {
          r = e;
        }),
          r.initializeObjectEvents(
            r(function (t, r) {
              return r === e;
            })
          ),
          r.event.raiseSyntheticEvent(e, t);
      },
      addToRepeater = function (e, t) {
        var r;
        window.$axure.internal(function (e) {
          r = e;
        }),
          r.repeater.addItem(e, t, r.getEventInfoFromEvent(null, !1, e)),
          r.repeater.refreshRepeater(e);
      };
  },
  143: function (e, t, r) {
    "use strict";
    r.d(t, "a", function () {
      return o;
    });
    var n = r(77);
    function o(e, t) {
      var r =
        ("undefined" !== typeof Symbol && e[Symbol.iterator]) ||
        e["@@iterator"];
      if (!r) {
        if (
          Array.isArray(e) ||
          (r = Object(n.a)(e)) ||
          (t && e && "number" === typeof e.length)
        ) {
          r && (e = r);
          var o = 0,
            a = function () {};
          return {
            s: a,
            n: function () {
              return o >= e.length ? { done: !0 } : { done: !1, value: e[o++] };
            },
            e: function (e) {
              throw e;
            },
            f: a,
          };
        }
        throw new TypeError(
          "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
        );
      }
      var i,
        u = !0,
        c = !1;
      return {
        s: function () {
          r = r.call(e);
        },
        n: function () {
          var e = r.next();
          return (u = e.done), e;
        },
        e: function (e) {
          (c = !0), (i = e);
        },
        f: function () {
          try {
            u || null == r.return || r.return();
          } finally {
            if (c) throw i;
          }
        },
      };
    }
  },
  156: function (e, t, r) {
    e.exports = r(157);
  },
  157: function (module, __webpack_exports__, __webpack_require__) {
    "use strict";
    __webpack_require__.r(__webpack_exports__);
    var D_Axhub_AxhubWeb_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ =
        __webpack_require__(20),
      _Common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(13),
      screenfull__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(129),
      insert_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(53),
      insert_css__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(
        insert_css__WEBPACK_IMPORTED_MODULE_3__
      );
    function _regeneratorRuntime() {
      _regeneratorRuntime = function () {
        return t;
      };
      var e,
        t = {},
        r = Object.prototype,
        n = r.hasOwnProperty,
        o =
          Object.defineProperty ||
          function (e, t, r) {
            e[t] = r.value;
          },
        a = "function" == typeof Symbol ? Symbol : {},
        i = a.iterator || "@@iterator",
        u = a.asyncIterator || "@@asyncIterator",
        c = a.toStringTag || "@@toStringTag";
      function l(e, t, r) {
        return (
          Object.defineProperty(e, t, {
            value: r,
            enumerable: !0,
            configurable: !0,
            writable: !0,
          }),
          e[t]
        );
      }
      try {
        l({}, "");
      } catch (e) {
        l = function (e, t, r) {
          return (e[t] = r);
        };
      }
      function s(e, t, r, n) {
        var a = t && t.prototype instanceof v ? t : v,
          i = Object.create(a.prototype),
          u = new L(n || []);
        return o(i, "_invoke", { value: j(e, r, u) }), i;
      }
      function f(e, t, r) {
        try {
          return { type: "normal", arg: e.call(t, r) };
        } catch (e) {
          return { type: "throw", arg: e };
        }
      }
      t.wrap = s;
      var _ = "suspendedStart",
        d = "executing",
        p = "completed",
        h = {};
      function v() {}
      function b() {}
      function m() {}
      var g = {};
      l(g, i, function () {
        return this;
      });
      var y = Object.getPrototypeOf,
        w = y && y(y(C([])));
      w && w !== r && n.call(w, i) && (g = w);
      var E = (m.prototype = v.prototype = Object.create(g));
      function x(e) {
        ["next", "throw", "return"].forEach(function (t) {
          l(e, t, function (e) {
            return this._invoke(t, e);
          });
        });
      }
      function O(e, t) {
        function r(o, a, i, u) {
          var c = f(e[o], e, a);
          if ("throw" !== c.type) {
            var l = c.arg,
              s = l.value;
            return s && "object" == typeof s && n.call(s, "__await")
              ? t.resolve(s.__await).then(
                  function (e) {
                    r("next", e, i, u);
                  },
                  function (e) {
                    r("throw", e, i, u);
                  }
                )
              : t.resolve(s).then(
                  function (e) {
                    (l.value = e), i(l);
                  },
                  function (e) {
                    return r("throw", e, i, u);
                  }
                );
          }
          u(c.arg);
        }
        var a;
        o(this, "_invoke", {
          value: function (e, n) {
            function o() {
              return new t(function (t, o) {
                r(e, n, t, o);
              });
            }
            return (a = a ? a.then(o, o) : o());
          },
        });
      }
      function j(t, r, n) {
        var o = _;
        return function (a, i) {
          if (o === d) throw new Error("Generator is already running");
          if (o === p) {
            if ("throw" === a) throw i;
            return { value: e, done: !0 };
          }
          for (n.method = a, n.arg = i; ; ) {
            var u = n.delegate;
            if (u) {
              var c = k(u, n);
              if (c) {
                if (c === h) continue;
                return c;
              }
            }
            if ("next" === n.method) n.sent = n._sent = n.arg;
            else if ("throw" === n.method) {
              if (o === _) throw ((o = p), n.arg);
              n.dispatchException(n.arg);
            } else "return" === n.method && n.abrupt("return", n.arg);
            o = d;
            var l = f(t, r, n);
            if ("normal" === l.type) {
              if (((o = n.done ? p : "suspendedYield"), l.arg === h)) continue;
              return { value: l.arg, done: n.done };
            }
            "throw" === l.type &&
              ((o = p), (n.method = "throw"), (n.arg = l.arg));
          }
        };
      }
      function k(t, r) {
        var n = r.method,
          o = t.iterator[n];
        if (o === e)
          return (
            (r.delegate = null),
            ("throw" === n &&
              t.iterator.return &&
              ((r.method = "return"),
              (r.arg = e),
              k(t, r),
              "throw" === r.method)) ||
              ("return" !== n &&
                ((r.method = "throw"),
                (r.arg = new TypeError(
                  "The iterator does not provide a '" + n + "' method"
                )))),
            h
          );
        var a = f(o, t.iterator, r.arg);
        if ("throw" === a.type)
          return (r.method = "throw"), (r.arg = a.arg), (r.delegate = null), h;
        var i = a.arg;
        return i
          ? i.done
            ? ((r[t.resultName] = i.value),
              (r.next = t.nextLoc),
              "return" !== r.method && ((r.method = "next"), (r.arg = e)),
              (r.delegate = null),
              h)
            : i
          : ((r.method = "throw"),
            (r.arg = new TypeError("iterator result is not an object")),
            (r.delegate = null),
            h);
      }
      function P(e) {
        var t = { tryLoc: e[0] };
        1 in e && (t.catchLoc = e[1]),
          2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])),
          this.tryEntries.push(t);
      }
      function A(e) {
        var t = e.completion || {};
        (t.type = "normal"), delete t.arg, (e.completion = t);
      }
      function L(e) {
        (this.tryEntries = [{ tryLoc: "root" }]),
          e.forEach(P, this),
          this.reset(!0);
      }
      function C(t) {
        if (t || "" === t) {
          var r = t[i];
          if (r) return r.call(t);
          if ("function" == typeof t.next) return t;
          if (!isNaN(t.length)) {
            var o = -1,
              a = function r() {
                for (; ++o < t.length; )
                  if (n.call(t, o)) return (r.value = t[o]), (r.done = !1), r;
                return (r.value = e), (r.done = !0), r;
              };
            return (a.next = a);
          }
        }
        throw new TypeError(typeof t + " is not iterable");
      }
      return (
        (b.prototype = m),
        o(E, "constructor", { value: m, configurable: !0 }),
        o(m, "constructor", { value: b, configurable: !0 }),
        (b.displayName = l(m, c, "GeneratorFunction")),
        (t.isGeneratorFunction = function (e) {
          var t = "function" == typeof e && e.constructor;
          return (
            !!t &&
            (t === b || "GeneratorFunction" === (t.displayName || t.name))
          );
        }),
        (t.mark = function (e) {
          return (
            Object.setPrototypeOf
              ? Object.setPrototypeOf(e, m)
              : ((e.__proto__ = m), l(e, c, "GeneratorFunction")),
            (e.prototype = Object.create(E)),
            e
          );
        }),
        (t.awrap = function (e) {
          return { __await: e };
        }),
        x(O.prototype),
        l(O.prototype, u, function () {
          return this;
        }),
        (t.AsyncIterator = O),
        (t.async = function (e, r, n, o, a) {
          void 0 === a && (a = Promise);
          var i = new O(s(e, r, n, o), a);
          return t.isGeneratorFunction(r)
            ? i
            : i.next().then(function (e) {
                return e.done ? e.value : i.next();
              });
        }),
        x(E),
        l(E, c, "Generator"),
        l(E, i, function () {
          return this;
        }),
        l(E, "toString", function () {
          return "[object Generator]";
        }),
        (t.keys = function (e) {
          var t = Object(e),
            r = [];
          for (var n in t) r.push(n);
          return (
            r.reverse(),
            function e() {
              for (; r.length; ) {
                var n = r.pop();
                if (n in t) return (e.value = n), (e.done = !1), e;
              }
              return (e.done = !0), e;
            }
          );
        }),
        (t.values = C),
        (L.prototype = {
          constructor: L,
          reset: function (t) {
            if (
              ((this.prev = 0),
              (this.next = 0),
              (this.sent = this._sent = e),
              (this.done = !1),
              (this.delegate = null),
              (this.method = "next"),
              (this.arg = e),
              this.tryEntries.forEach(A),
              !t)
            )
              for (var r in this)
                "t" === r.charAt(0) &&
                  n.call(this, r) &&
                  !isNaN(+r.slice(1)) &&
                  (this[r] = e);
          },
          stop: function () {
            this.done = !0;
            var e = this.tryEntries[0].completion;
            if ("throw" === e.type) throw e.arg;
            return this.rval;
          },
          dispatchException: function (t) {
            if (this.done) throw t;
            var r = this;
            function o(n, o) {
              return (
                (u.type = "throw"),
                (u.arg = t),
                (r.next = n),
                o && ((r.method = "next"), (r.arg = e)),
                !!o
              );
            }
            for (var a = this.tryEntries.length - 1; a >= 0; --a) {
              var i = this.tryEntries[a],
                u = i.completion;
              if ("root" === i.tryLoc) return o("end");
              if (i.tryLoc <= this.prev) {
                var c = n.call(i, "catchLoc"),
                  l = n.call(i, "finallyLoc");
                if (c && l) {
                  if (this.prev < i.catchLoc) return o(i.catchLoc, !0);
                  if (this.prev < i.finallyLoc) return o(i.finallyLoc);
                } else if (c) {
                  if (this.prev < i.catchLoc) return o(i.catchLoc, !0);
                } else {
                  if (!l)
                    throw new Error("try statement without catch or finally");
                  if (this.prev < i.finallyLoc) return o(i.finallyLoc);
                }
              }
            }
          },
          abrupt: function (e, t) {
            for (var r = this.tryEntries.length - 1; r >= 0; --r) {
              var o = this.tryEntries[r];
              if (
                o.tryLoc <= this.prev &&
                n.call(o, "finallyLoc") &&
                this.prev < o.finallyLoc
              ) {
                var a = o;
                break;
              }
            }
            a &&
              ("break" === e || "continue" === e) &&
              a.tryLoc <= t &&
              t <= a.finallyLoc &&
              (a = null);
            var i = a ? a.completion : {};
            return (
              (i.type = e),
              (i.arg = t),
              a
                ? ((this.method = "next"), (this.next = a.finallyLoc), h)
                : this.complete(i)
            );
          },
          complete: function (e, t) {
            if ("throw" === e.type) throw e.arg;
            return (
              "break" === e.type || "continue" === e.type
                ? (this.next = e.arg)
                : "return" === e.type
                ? ((this.rval = this.arg = e.arg),
                  (this.method = "return"),
                  (this.next = "end"))
                : "normal" === e.type && t && (this.next = t),
              h
            );
          },
          finish: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var r = this.tryEntries[t];
              if (r.finallyLoc === e)
                return this.complete(r.completion, r.afterLoc), A(r), h;
            }
          },
          catch: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var r = this.tryEntries[t];
              if (r.tryLoc === e) {
                var n = r.completion;
                if ("throw" === n.type) {
                  var o = n.arg;
                  A(r);
                }
                return o;
              }
            }
            throw new Error("illegal catch attempt");
          },
          delegateYield: function (t, r, n) {
            return (
              (this.delegate = { iterator: C(t), resultName: r, nextLoc: n }),
              "next" === this.method && (this.arg = e),
              h
            );
          },
        }),
        t
      );
    }
    var _window = window,
      $axure = _window.$axure,
      $ = _window.$;
    function printContent(e, t) {
      return _printContent.apply(this, arguments);
    }
    function _printContent() {
      return (_printContent = Object(
        D_Axhub_AxhubWeb_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__.a
      )(
        _regeneratorRuntime().mark(function e(t, r) {
          var n, o;
          return _regeneratorRuntime().wrap(
            function (e) {
              for (;;)
                switch ((e.prev = e.next)) {
                  case 0:
                    if (((e.prev = 0), window.html2canvas)) {
                      e.next = 4;
                      break;
                    }
                    return (
                      (e.next = 4),
                      Object(_Common__WEBPACK_IMPORTED_MODULE_1__.g)(
                        "https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/html2canvas/1.4.1/html2canvas.min.js"
                      )
                    );
                  case 4:
                    return (e.next = 6), window.html2canvas(t);
                  case 6:
                    (n = e.sent),
                      (o = window.open("", "_blank")).document.write(
                        "<html><head><title>" + r + "</title></head><body>"
                      ),
                      (o.document.body.style.padding = "0"),
                      (o.document.body.style.margin = "0"),
                      o.document.write(
                        '<img style="page-break-before:always" src="' +
                          n.toDataURL() +
                          '" />'
                      ),
                      o.document.write("</body></html>"),
                      o.document.close(),
                      (o.onafterprint = function () {
                        o.close();
                      }),
                      o.print(),
                      (e.next = 21);
                    break;
                  case 18:
                    (e.prev = 18),
                      (e.t0 = e.catch(0)),
                      console.error("\u6253\u5370\u5931\u8d25:", e.t0);
                  case 21:
                  case "end":
                    return e.stop();
                }
            },
            e,
            null,
            [[0, 18]]
          );
        })
      )).apply(this, arguments);
    }
    function captureAndDownload() {
      return _captureAndDownload.apply(this, arguments);
    }
    function _captureAndDownload() {
      return (_captureAndDownload = Object(
        D_Axhub_AxhubWeb_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__.a
      )(
        _regeneratorRuntime().mark(function e() {
          var t,
            r,
            n,
            o,
            a,
            i = arguments;
          return _regeneratorRuntime().wrap(
            function (e) {
              for (;;)
                switch ((e.prev = e.next)) {
                  case 0:
                    if (
                      ((t =
                        i.length > 0 && void 0 !== i[0] ? i[0] : document.body),
                      (r = i.length > 1 ? i[1] : void 0),
                      (e.prev = 2),
                      window.html2canvas)
                    ) {
                      e.next = 6;
                      break;
                    }
                    return (
                      (e.next = 6),
                      Object(_Common__WEBPACK_IMPORTED_MODULE_1__.g)(
                        "https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/html2canvas/1.4.1/html2canvas.min.js"
                      )
                    );
                  case 6:
                    return (e.next = 8), window.html2canvas(t);
                  case 8:
                    (n = e.sent),
                      (o = document.createElement("a")),
                      (a = n.toDataURL("image/png")),
                      (o.href = a),
                      (o.download = "".concat(r || "screenshot", ".png")),
                      document.body.appendChild(o),
                      o.click(),
                      document.body.removeChild(o),
                      (e.next = 21);
                    break;
                  case 18:
                    (e.prev = 18),
                      (e.t0 = e.catch(2)),
                      console.error("\u622a\u56fe\u5931\u8d25:", e.t0);
                  case 21:
                  case "end":
                    return e.stop();
                }
            },
            e,
            null,
            [[2, 18]]
          );
        })
      )).apply(this, arguments);
    }
    $axure("@axhub-css-box")
      .$()
      .map(function (e, t) {
        try {
          var r = $(t).find("textarea").val().split("\n");
          (r = r.map(function (e) {
            return e.trim();
          })),
            insert_css__WEBPACK_IMPORTED_MODULE_3___default()(r.join("\n"));
        } catch (n) {
          console.error("\u6e32\u67d3\u9047\u5230\u9ebb\u70e6\u5566\uff1a", n);
        }
      }),
      $axure("@axhub-js-box")
        .$()
        .map(function (index, item) {
          try {
            var js = $(item).find("textarea").val();
            eval(js);
          } catch (error) {
            console.error(
              "\u6e32\u67d3\u9047\u5230\u9ebb\u70e6\u5566\uff1a",
              error
            );
          }
        }),
      $axure("@axhub-print")
        .$()
        .map(function (e, t) {
          try {
            var r =
                $(t).parent().find('[data-label="axhub-config"]').attr("id") ||
                "",
              n = r
                ? Object(_Common__WEBPACK_IMPORTED_MODULE_1__.d)(r, {
                    "\u76ee\u6807\u5143\u4ef6": "targetElement",
                  })
                : {};
            (n.axID =
              n.axID ||
              t.id + Object(_Common__WEBPACK_IMPORTED_MODULE_1__.i)(6)),
              $(t).css("cursor", "pointer"),
              $(t).click(
                (function () {
                  var e = Object(
                    D_Axhub_AxhubWeb_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__.a
                  )(
                    _regeneratorRuntime().mark(function e(t) {
                      return _regeneratorRuntime().wrap(function (e) {
                        for (;;)
                          switch ((e.prev = e.next)) {
                            case 0:
                              n.targetElement
                                ? printContent(
                                    $axure("@".concat(n.targetElement))
                                      .$()
                                      .get(0),
                                    n.targetElement
                                  )
                                : printContent(document.body, document.title);
                            case 1:
                            case "end":
                              return e.stop();
                          }
                      }, e);
                    })
                  );
                  return function (t) {
                    return e.apply(this, arguments);
                  };
                })()
              );
          } catch (o) {
            console.error(
              "\u6e32\u67d3\u9047\u5230\u9ebb\u70e6\u5566\uff1a",
              o
            );
          }
        }),
      $axure("@axhub-screenshot")
        .$()
        .map(function (e, t) {
          try {
            var r =
                $(t).parent().find('[data-label="axhub-config"]').attr("id") ||
                "",
              n = r
                ? Object(_Common__WEBPACK_IMPORTED_MODULE_1__.d)(r, {
                    "\u76ee\u6807\u5143\u4ef6": "targetElement",
                  })
                : {};
            (n.axID =
              n.axID ||
              t.id + Object(_Common__WEBPACK_IMPORTED_MODULE_1__.i)(6)),
              $(t).css("cursor", "pointer"),
              $(t).click(
                (function () {
                  var e = Object(
                    D_Axhub_AxhubWeb_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__.a
                  )(
                    _regeneratorRuntime().mark(function e(t) {
                      return _regeneratorRuntime().wrap(function (e) {
                        for (;;)
                          switch ((e.prev = e.next)) {
                            case 0:
                              n.targetElement
                                ? captureAndDownload(
                                    $axure("@".concat(n.targetElement))
                                      .$()
                                      .get(0),
                                    n.targetElement
                                  )
                                : captureAndDownload();
                            case 1:
                            case "end":
                              return e.stop();
                          }
                      }, e);
                    })
                  );
                  return function (t) {
                    return e.apply(this, arguments);
                  };
                })()
              );
          } catch (o) {
            console.error(
              "\u6e32\u67d3\u9047\u5230\u9ebb\u70e6\u5566\uff1a",
              o
            );
          }
        }),
      $axure("@axhub-fullscreen")
        .$()
        .map(function (e, t) {
          try {
            var r =
                $(t).parent().find('[data-label="axhub-config"]').attr("id") ||
                "",
              n = r
                ? Object(_Common__WEBPACK_IMPORTED_MODULE_1__.d)(r, {
                    "\u76ee\u6807\u5143\u4ef6": "targetElement",
                  })
                : {};
            (n.axID =
              n.axID ||
              t.id + Object(_Common__WEBPACK_IMPORTED_MODULE_1__.i)(6)),
              $(t).css("cursor", "pointer"),
              $(t).click(
                (function () {
                  var e = Object(
                    D_Axhub_AxhubWeb_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__.a
                  )(
                    _regeneratorRuntime().mark(function e(t) {
                      var r, o, a;
                      return _regeneratorRuntime().wrap(function (e) {
                        for (;;)
                          switch ((e.prev = e.next)) {
                            case 0:
                              (r = $(n.targetElement || "body").css(
                                "background-color"
                              )),
                                (o = n.targetElement
                                  ? "#" +
                                    $axure("@".concat(n.targetElement)).$()[0]
                                      .id
                                  : "body"),
                                $(o + "_div").length > 0
                                  ? (r = $(o + "_div").css("background-color"))
                                  : $(o + "_state0").length > 0 &&
                                    (r = $(o + "_state0").css(
                                      "background-color"
                                    )),
                                ("rgba(0, 0, 0, 0)" !== r && r) ||
                                  ((r = "#ffffff"),
                                  $("body").css("background-color", r)),
                                insert_css__WEBPACK_IMPORTED_MODULE_3___default()(
                                  "\n                "
                                    .concat(
                                      o,
                                      ":-webkit-full-screen{\n\t\t\t\t   background-color: "
                                    )
                                    .concat(r, ";\n\t\t\t\t}\n\t\t\t\t")
                                    .concat(
                                      o,
                                      ":-moz-full-screen{\n\t\t\t\t    background-color: "
                                    )
                                    .concat(r, ";\n                }\n\t\t\t\t")
                                ),
                                n.targetElement
                                  ? ((a = $axure("@".concat(n.targetElement))
                                      .$()
                                      .get(0)),
                                    screenfull__WEBPACK_IMPORTED_MODULE_2__.a.toggle(
                                      a
                                    ))
                                  : screenfull__WEBPACK_IMPORTED_MODULE_2__.a.toggle();
                            case 6:
                            case "end":
                              return e.stop();
                          }
                      }, e);
                    })
                  );
                  return function (t) {
                    return e.apply(this, arguments);
                  };
                })()
              );
          } catch (o) {
            console.error(
              "\u6e32\u67d3\u9047\u5230\u9ebb\u70e6\u5566\uff1a",
              o
            );
          }
        });
  },
  2: function (e, t, r) {
    "use strict";
    var n = r(87);
    var o = r(77),
      a = r(88);
    function i(e, t) {
      return (
        Object(n.a)(e) ||
        (function (e, t) {
          var r =
            null == e
              ? null
              : ("undefined" != typeof Symbol && e[Symbol.iterator]) ||
                e["@@iterator"];
          if (null != r) {
            var n,
              o,
              a,
              i,
              u = [],
              c = !0,
              l = !1;
            try {
              if (((a = (r = r.call(e)).next), 0 === t)) {
                if (Object(r) !== r) return;
                c = !1;
              } else
                for (
                  ;
                  !(c = (n = a.call(r)).done) &&
                  (u.push(n.value), u.length !== t);
                  c = !0
                );
            } catch (e) {
              (l = !0), (o = e);
            } finally {
              try {
                if (
                  !c &&
                  null != r.return &&
                  ((i = r.return()), Object(i) !== i)
                )
                  return;
              } finally {
                if (l) throw o;
              }
            }
            return u;
          }
        })(e, t) ||
        Object(o.a)(e, t) ||
        Object(a.a)()
      );
    }
    r.d(t, "a", function () {
      return i;
    });
  },
  20: function (e, t, r) {
    "use strict";
    function n(e, t, r, n, o, a, i) {
      try {
        var u = e[a](i),
          c = u.value;
      } catch (l) {
        return void r(l);
      }
      u.done ? t(c) : Promise.resolve(c).then(n, o);
    }
    function o(e) {
      return function () {
        var t = this,
          r = arguments;
        return new Promise(function (o, a) {
          var i = e.apply(t, r);
          function u(e) {
            n(i, o, a, u, c, "next", e);
          }
          function c(e) {
            n(i, o, a, u, c, "throw", e);
          }
          u(void 0);
        });
      };
    }
    r.d(t, "a", function () {
      return o;
    });
  },
  36: function (e, t, r) {
    "use strict";
    var n = {}.toString;
    t.a = function (e, t) {
      return n.call(e) === "[object " + t + "]";
    };
  },
  37: function (e, t, r) {
    "use strict";
    var n = r(55),
      o = function (e) {
        return "object" === typeof e && null !== e;
      },
      a = r(36),
      i = function (e) {
        if (!o(e) || !Object(a.a)(e, "Object")) return !1;
        if (null === Object.getPrototypeOf(e)) return !0;
        for (var t = e; null !== Object.getPrototypeOf(t); )
          t = Object.getPrototypeOf(t);
        return Object.getPrototypeOf(e) === t;
      };
    function u(e, t) {
      if (Object.hasOwn) return Object.hasOwn(e, t);
      if (null == e)
        throw new TypeError("Cannot convert undefined or null to object");
      return Object.prototype.hasOwnProperty.call(Object(e), t);
    }
    function c(e, t, r, o) {
      for (var a in ((r = r || 0), (o = o || 5), t))
        if (u(t, a)) {
          var l = t[a];
          null !== l && i(l)
            ? (i(e[a]) || (e[a] = {}),
              r < o ? c(e[a], l, r + 1, o) : (e[a] = t[a]))
            : Object(n.a)(l)
            ? ((e[a] = []), (e[a] = e[a].concat(l)))
            : void 0 !== l && (e[a] = l);
        }
    }
    t.a = function (e) {
      for (var t = [], r = 1; r < arguments.length; r++)
        t[r - 1] = arguments[r];
      for (var n = 0; n < t.length; n += 1) c(e, t[n]);
      return e;
    };
  },
  53: function (e, t) {
    var r = [],
      n = [];
    function o(e, t) {
      if (((t = t || {}), void 0 === e))
        throw new Error(
          "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options])."
        );
      var o,
        a = !0 === t.prepend ? "prepend" : "append",
        i =
          void 0 !== t.container ? t.container : document.querySelector("head"),
        u = r.indexOf(i);
      return (
        -1 === u && ((u = r.push(i) - 1), (n[u] = {})),
        void 0 !== n[u] && void 0 !== n[u][a]
          ? (o = n[u][a])
          : ((o = n[u][a] =
              (function () {
                var e = document.createElement("style");
                return e.setAttribute("type", "text/css"), e;
              })()),
            "prepend" === a
              ? i.insertBefore(o, i.childNodes[0])
              : i.appendChild(o)),
        65279 === e.charCodeAt(0) && (e = e.substr(1, e.length)),
        o.styleSheet ? (o.styleSheet.cssText += e) : (o.textContent += e),
        o
      );
    }
    (e.exports = o), (e.exports.insertCss = o);
  },
  54: function (e, t, r) {
    var n, o, a;
    (a = function () {
      var e,
        t,
        r = document,
        n = r.getElementsByTagName("head")[0],
        o = {},
        a = {},
        i = {},
        u = {};
      function c(e, t) {
        for (var r = 0, n = e.length; r < n; ++r) if (!t(e[r])) return !1;
        return 1;
      }
      function l(e, t) {
        c(e, function (e) {
          return t(e), 1;
        });
      }
      function s(t, r, n) {
        t = t.push ? t : [t];
        var _ = r && r.call,
          d = _ ? r : n,
          p = _ ? t.join("") : r,
          h = t.length;
        function v(e) {
          return e.call ? e() : o[e];
        }
        function b() {
          if (!--h)
            for (var e in ((o[p] = 1), d && d(), i))
              c(e.split("|"), v) && !l(i[e], v) && (i[e] = []);
        }
        return (
          setTimeout(function () {
            l(t, function t(r, n) {
              return null === r
                ? b()
                : (n ||
                    /^https?:\/\//.test(r) ||
                    !e ||
                    (r = -1 === r.indexOf(".js") ? e + r + ".js" : e + r),
                  u[r]
                    ? (p && (a[p] = 1),
                      2 == u[r]
                        ? b()
                        : setTimeout(function () {
                            t(r, !0);
                          }, 0))
                    : ((u[r] = 1), p && (a[p] = 1), void f(r, b)));
            });
          }, 0),
          s
        );
      }
      function f(e, o) {
        var a,
          i = r.createElement("script");
        (i.onload =
          i.onerror =
          i.onreadystatechange =
            function () {
              (i.readyState && !/^c|loade/.test(i.readyState)) ||
                a ||
                ((i.onload = i.onreadystatechange = null),
                (a = 1),
                (u[e] = 2),
                o());
            }),
          (i.async = 1),
          (i.src = t ? e + (-1 === e.indexOf("?") ? "?" : "&") + t : e),
          n.insertBefore(i, n.lastChild);
      }
      return (
        (s.get = f),
        (s.order = function (e, t, r) {
          !(function n(o) {
            (o = e.shift()), e.length ? s(o, n) : s(o, t, r);
          })();
        }),
        (s.path = function (t) {
          e = t;
        }),
        (s.urlArgs = function (e) {
          t = e;
        }),
        (s.ready = function (e, t, r) {
          e = e.push ? e : [e];
          var n,
            a = [];
          return (
            !l(e, function (e) {
              o[e] || a.push(e);
            }) &&
            c(e, function (e) {
              return o[e];
            })
              ? t()
              : ((n = e.join("|")),
                (i[n] = i[n] || []),
                i[n].push(t),
                r && r(a)),
            s
          );
        }),
        (s.done = function (e) {
          s([null], e);
        }),
        s
      );
    }),
      e.exports
        ? (e.exports = a())
        : void 0 ===
            (o = "function" === typeof (n = a) ? n.call(t, r, t, e) : n) ||
          (e.exports = o);
  },
  55: function (e, t, r) {
    "use strict";
    var n = r(36);
    t.a = function (e) {
      return Array.isArray ? Array.isArray(e) : Object(n.a)(e, "Array");
    };
  },
  77: function (e, t, r) {
    "use strict";
    r.d(t, "a", function () {
      return o;
    });
    var n = r(82);
    function o(e, t) {
      if (e) {
        if ("string" === typeof e) return Object(n.a)(e, t);
        var r = Object.prototype.toString.call(e).slice(8, -1);
        return (
          "Object" === r && e.constructor && (r = e.constructor.name),
          "Map" === r || "Set" === r
            ? Array.from(e)
            : "Arguments" === r ||
              /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)
            ? Object(n.a)(e, t)
            : void 0
        );
      }
    }
  },
  82: function (e, t, r) {
    "use strict";
    function n(e, t) {
      (null == t || t > e.length) && (t = e.length);
      for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
      return n;
    }
    r.d(t, "a", function () {
      return n;
    });
  },
  87: function (e, t, r) {
    "use strict";
    function n(e) {
      if (Array.isArray(e)) return e;
    }
    r.d(t, "a", function () {
      return n;
    });
  },
  88: function (e, t, r) {
    "use strict";
    function n() {
      throw new TypeError(
        "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
      );
    }
    r.d(t, "a", function () {
      return n;
    });
  },
});
